<template>
  <div>
    <div>
      <h4>基础状态</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>评估体位：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd19">
              <el-radio label="端坐位"></el-radio>
              <el-radio label="半卧位"></el-radio>
              <el-radio label="其他"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd19input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>意识障碍程度：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd20" >
              <el-radio label="清醒"></el-radio>
              <el-radio label="嗜睡"></el-radio>
              <el-radio label="浅昏迷"></el-radio>
              <el-radio label="深昏迷"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd20input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>精神状态：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd21" >
              <el-radio label="正常"></el-radio>
              <el-radio label="稍差"></el-radio>
              <el-radio label="很差"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd21input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>颈部活动：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd22">
              <el-checkbox label="正常"></el-checkbox>
              <el-checkbox label="异常"></el-checkbox>
              <el-checkbox label="左侧屈"></el-checkbox>
              <el-checkbox label="右侧屈"></el-checkbox>
              <el-checkbox label="前屈"></el-checkbox>
              <el-checkbox label="后伸"></el-checkbox>
              <el-checkbox label="左旋"></el-checkbox>
              <el-checkbox label="右旋"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd22input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "basic_state2",
  title: "基础状态",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data () {
    return {
      pgForm: {
        tygnlcpg1_tyyxxzd19:'',
        tygnlcpg1_tyyxxzd20:'',
        tygnlcpg1_tyyxxzd21:'',
        tygnlcpg1_tyyxxzd22:[],
        tygnlcpg1_tyyxxzd19input:'',
        tygnlcpg1_tyyxxzd20input:'',
        tygnlcpg1_tyyxxzd21input:'',
        tygnlcpg1_tyyxxzd22input:'',
      }
    };
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
</style>
